interface Props {
  onClick: () => void;
}

function MyButton(props: Props) {
  return (
    <div>
      <div>MY BUTTOM</div>
      <button onClick={props.onClick}>ACT</button>
    </div>
  );
}

export default MyButton;
